package lab02.test02;

/**
 * Created by 14394 on 2017/10/15.
 */
public class Circle {
    private int redius;

    public Circle(int redius) {
        this.redius = redius;
    }

    public int getRedius() {
        return redius;
    }

    public void setRedius(int redius) {
        this.redius = redius;
    }

    public int getCircle_perimeter(){
        return (int) (2*3.14*redius);
    }

    public int getCircle_area(){
        return (int) (3.14*redius*redius);
    }
}
